<!DOCTYPE html>
<html>

<head>
  <meta charset="utf-8" />
  <title>颍上文明网</title>
  <meta name="keywords" content="颍上文明网">
  <meta http-equiv="Pragma" content="no-cache">
  <meta http-equiv="Cache-Control" content="no-cache">
  <meta http-equiv="Cache" content="no-cache">
  <meta http-equiv="Expires" content="0">
  <meta name="baidu-site-verification" content="codeva-G7EWan3eZP" />
  <meta name="Description" content="颍上文明网">
  <link rel="icon" type="image/ico" sizes="32x32" href="favicon.ico" />

  <link rel="stylesheet" href="./css/common.css?v=20241012">
  <link rel="stylesheet" href="./js/swiper.min.css">
  
    <!-- 友盟数据统计 -->
    <script>
      var _czc = _czc || [];
      (function () {
          var um = document.createElement("script");
          um.src = "https://v1.cnzz.com/z.js?id=1281391235&async=1";
          var s = document.getElementsByTagName("script")[0];
          s.parentNode.insertBefore(um, s);
      })();
  </script>
      
  <!-- 内容管控 -->
  <script src='./js/jquery.js'></script> 
  <script src='./js/sdk_h5/jquery.base64.js?v=20240116'></script> 
  <script src='./js/sdk_h5/initSdk.js?v=20240116'></script>

  <script type="text/javascript" src="./js/newscommon.js"></script>
</head>
<body>
  <div id="app" v-cloak class="grayContent">
    <!-- 背景图 -->
    <div class="bg" :style="style"></div>
    <a :href="aLink" v-if="aLink" class='lianghui' style='display: inline-block;width: 100%;height: 550px;position:absolute;left:0;top:0;z-index: 100;cursor: pointer;' target="_blank"></a>
    <!-- 启动图 -->
    <!-- <div class="qdimg" v-if="qdimgStatus">
      <span class="skip" @click="skipqdimg">跳过</span>
      <a href="https://yuexitv.com/subject/subject1/index.html?columnId=540&columnName=2023%E6%98%A0%E5%B1%B1%E7%BA%A2%E6%96%87%E5%8C%96%E6%9C%88" target="_blank">
        <img src="./img/qd.jpg" alt="">
      </a>
    </div> -->
    <!-- 侧边广告 -->
    <div class="cbgg" :style='item.style' v-if='item.sxclose' v-for="(item,index) in sideAdList">
      <img class="closeimg" src="./img/close2.png" alt="" @click="closeSideAd(item, index)" v-if='item.sxcloseimg'>
      <img :src="item.pic" @click="sideAdClick(index, item)" alt="" style="width: 100%;height:100%;cursor: pointer;">
    </div>
    <!-- 返回顶部 -->
    <return-top></return-top>
    <!-- 广告 -->
    <div class="column">
      <div v-if="adList.length" v-for="(item, index) in adList" :key="index">
        <template v-if="item.pos == '1'">
          <div v-for="row in Number(item.rows)" style="display: flex;">
            <div v-for="column in  Number(item.columns)" style="height: 70px;flex: 1; margin:5px;"
              @click="tuwail(item.list[(row - 1)*Number(item.columns) + (column -1)])"
              v-if="item.list[(row - 1)*Number(item.columns) + (column -1)].status != 0">
              <template v-if="item.list[(row - 1)*Number(item.columns) + (column -1)]">
                <img :src="item.list[(row - 1)*Number(item.columns) + (column -1)].url"
                  style="width: 100% ; height: 70px;" />
              </template>
            </div>
          </div>
        </template>
      </div>
    </div>
    <common-header></common-header>
    <top-nav></top-nav>
    <div :style=`margin-top:${topPadd}px`>
    <div class="is-main">
      <!-- 广告 -->
      <div class="column">
        <div v-if="adList.length" v-for="(item, index) in adList" :key="index">
          <template v-if="item.pos == '2'">
            <div v-for="row in Number(item.rows)" style="display: flex;">
              <div v-for="column in  Number(item.columns)" style="height: 70px;flex: 1; margin:5px;"
                @click="tuwail(item.list[(row - 1)*Number(item.columns) + (column -1)])"
                v-if="item.list[(row - 1)*Number(item.columns) + (column -1)].status != 0">
                <template v-if="item.list[(row - 1)*Number(item.columns) + (column -1)]">
                  <img :src="item.list[(row - 1)*Number(item.columns) + (column -1)].url"
                    style="width: 100% ; height: 70px;" />
                </template>
              </div>
            </div>
          </template>
        </div>
      </div>
      <!--头条-->
      <div class="m-hot xtt">
        <!-- <a class="m-hotIcon" @click='nav(navList[0], 1)'></a> -->
        <h1 @click='articlemag(navList[0].list[0], navList[0])' 
            :title="navList[0].list[0].fixedinfoflowTitle"
            v-if='navList[0].list.length > 0'
          >
          <a target="_blank" v-cloak>
            {{navList[0].list[0].fixedinfoflowTitle}}
          </a>
        </h1>
          <div class="subtitle">
            <div @click='articlemag(navList[0].list[1],navList[0])' class="headline2"
                :title="navList[0].list[1].fixedinfoflowTitle"
                v-if='navList[0].list.length > 1'>
              <a href="JavaScript:;" v-cloak >
                {{navList[0].list[1].fixedinfoflowTitle | ellipsis2}} </a>
            </div>
            <div @click='articlemag(navList[0].list[2],navList[0])' class="headline2" 
                 :title="navList[0].list[2].fixedinfoflowTitle"
                 v-if='navList[0].list.length > 2'>
              <a href="JavaScript:;" v-cloak >
                {{navList[0].list[2].fixedinfoflowTitle | ellipsis2}}
              </a>
            </div>
            <div @click='articlemag(navList[0].list[3],navList[0])' class="headline2" 
                 :title="navList[0].list[3].fixedinfoflowTitle"
                 v-if='navList[0].list.length > 3'>
              <a href="JavaScript:;" v-cloak>
                {{navList[0].list[3].fixedinfoflowTitle | ellipsis2}} </a>
            </div>
          </div>
        
        <a @click='nav(navList[0], 1)' class="moreTitles">更多+</a>
      </div>

      <!-- 轮播图 -->
      <div class="clearfix" style="margin-bottom: 30px;">
        <div class="leftPicture f-l">
          <div class="swapWatp1">
            <div class="swiper1 swiper-container">
              <div class="swiper-wrapper">
                <div  v-if='navList[10].list && index<5' class="swiper-slide"
                      v-for='(item, index) in navList[10].list' :key="index"
                 >
                  <img :src="item.coverImgUrl?item.coverImgUrl:'./img/defaultImg.png'" class="layui-circle" alt="" 
                        @click='showCarouselVideo(item)' v-if="item.contentType == 3&&item.carouselType == 'C2'">
                  <img :src="item.coverImgUrl?item.coverImgUrl:'./img/defaultImg.png'" class="layui-circle" alt="" 
                        @click='articlemag(item, navList[10])' v-else>
                  <div class="introduction2">
                    <p v-cloak>
                      <img src="./img/play.png" alt="" class="playIcon"
                          v-if="item.contentType == 3&&item.carouselType == 'C2'"  
                          @click="showCarouselVideo(item)" />
                      <span @click='articlemag(item,navList[10])'>{{ item.fixedinfoflowTitle }}</span>
                    </p>
                  </div>
                </div>
              </div>
              <div class="swiper-pagination"></div>
              <div class="swiperVideoWrap" v-if="showVideo">
                <img src="./img/close.png" alt=""  @click="closeVideo">
                <div id="mse4" style="width: 100%;height:100%;"></div>
              </div>
            </div>
          </div>
        </div>
        <!-- 信息流 -->
        <div class="rightNews newsWrap f-r" >
          <h2 class="head">
            <li class="active" @click="nav(navList[9], 1)" v-if="navList.length">{{navList[9].channelName}}</li>
            <div class="mores" @click="nav(navList[9], 1)">
              <img src="./img/bt_left.png" alt="">
            </div>
          </h2>
          <ul class="list" v-if="navList.length && navList[9].list">
            <li v-for=" (item,index) in navList[9].list">
              <a :title="item.fixedinfoflowTitle" @click='articlemag(item, navList[9])'>
                {{item.fixedinfoflowTitle | ellipsis3}}
              </a>
              <!-- <span class="date" v-if="item.displayTime">{{item.displayTime.split(' ')[0]}}</span> -->
            </li>
          </ul>
        </div>
      </div>

      <!-- 广告 -->
      <div class="column">
        <div v-if="adList.length" v-for="(item, index) in adList" :key="index">
          <template v-if="item.pos == '3'">
            <div v-for="row in Number(item.rows)" style="display: flex;">
              <div v-for="column in  Number(item.columns)" style="height: 70px;flex: 1; margin:5px;"
                @click="tuwail(item.list[(row - 1)*Number(item.columns) + (column -1)])"
                v-if="item.list[(row - 1)*Number(item.columns) + (column -1)].status != 0">
                <template v-if="item.list[(row - 1)*Number(item.columns) + (column -1)]">
                  <img :src="item.list[(row - 1)*Number(item.columns) + (column -1)].url"
                    style="width: 100% ; height: 70px;" />
                </template>
              </div>
            </div>
          </template>
        </div>
      </div>

      <div class="column clearfix">
        <!-- 领导动态 -->
        <div class="bottomboxItem f-l" style="width: 780px;">
          <div class="boxItemtitel2">
            <span @click="nav(navList[1], 1)">领导动态</span>
            <div class="mores" @click="nav(navList[1], 1)">
              <img src="./img/bt_left.png" alt="">
            </div>
          </div>
          <div class="boxItemContent">
            <div class="xzitem f-l" v-if="navList[1].list" style="width: 50%;">
              <div class="xzitemnei"
                v-for="(item,index) in navList[1].list"
                @click='articlemag(item, navList[1], 1)' v-if="index<5">
                <span>·&nbsp;</span>
                <div class="xzitemCon">
                  <a href="JavaScript:;" :title="item.fixedinfoflowTitle">{{item.fixedinfoflowTitle | ellipsis4}}</a>
                </div>
              </div>
            </div>
            <div class="xzitem f-l" v-if="navList[1].list" style="width: 50%;">
              <div class="xzitemnei"
                v-for="(item,index) in navList[1].list"
                @click='articlemag(item, navList[1], 1)' v-if="index>4">
                <span>·&nbsp;</span>
                <div class="xzitemCon">
                  <a href="JavaScript:;" :title="item.fixedinfoflowTitle">{{item.fixedinfoflowTitle | ellipsis4}}</a>
                </div>
              </div>
            </div>
          </div>
        </div>
        <!-- 工作简报 -->
        <!-- <div class="bottomboxItem f-l " style="margin: 0 30px;">
          <div class="boxItemtitel2">
            <span @click="nav(navList[2], 1)">工作简报</span>
            <div class="mores" @click="nav(navList[2], 1)">
              <img src="./img/bt_left.png" alt="">
            </div>
          </div>

          <div class="boxItemContent">
            <div class="xzitem f-l" v-if="navList[2].list">
              <div class="xzitemnei"
                v-for="(item,index) in navList[2].list"
                @click='articlemag(item, navList[2])'>
                <span>·&nbsp;</span>
                <div class="xzitemCon">
                  <a href="JavaScript:;" :title="item.fixedinfoflowTitle">{{item.fixedinfoflowTitle | ellipsis4}}</a>
                </div>
              </div>
            </div>
          </div>
        </div> -->

        <!-- 通知公告navList[17] -->
        <div class="bottomboxItem f-l " style="margin-left: 30px;">
          <div class="boxItemtitel2">
            <span @click="nav(navList[17], 1)">通知公告</span>
            <div class="mores" @click="nav(navList[17], 1)">
              <img src="./img/bt_left.png" alt="">
            </div>
          </div>

          <div class="boxItemContent">
            <div class="xzitem" v-if="navList[17].list">
              <div class="xzitemnei"
                v-for="(item,index) in navList[17].list"
                @click='articlemag(item, navList[17])'>
                <span>·&nbsp;</span>
                <div class="xzitemCon">
                  <a href="JavaScript:;" :title="item.fixedinfoflowTitle">{{item.fixedinfoflowTitle | ellipsis4}}</a>
                </div>
              </div>
            </div>
          </div>
        </div>

      </div>

      <!-- 图片新闻 -->
      <!-- <div class="column clearfix" style="background: #f6f6f6;">
        <div class="xztitel">
          <div class="xztitelnei" @click='nav(navList[10], 1)'>图片新闻</div>
          <div class="mores" @click='nav(navList[10], 1)' style='float:right;margin-top: -35px;margin-right: 18px;'>
            <img src="./img/bt_left.png" alt="">
          </div>
        </div>
          <div class="swiper-container swiper4 subjectBox">
            <div class="swiper-wrapper">
              <div class="swiper-slide" v-for="(item, index) in navList[10].list" style="width: 200px !important;height: 115px;">
                <div class="imgswpitem" @click='articlemag(item, navList[10])' style="width: 200px !important;height: 115px;">
                  <img :src="item.modelImg?item.modelImg:'./img/defaultImg.png'" alt="" style="width: 100%;height:100%;">
                </div>
              </div>
            </div>
            <div class="swiper-button-prev" @click="swiperPrev3"></div>
            <div class="swiper-button-next" @click="swiperNext3"></div>
          </div>
      </div> -->

      <!-- 文明创建 -->
      <div class="column clearfix">
        <div class="xztitel m-b-20">
          <div class="xztitelnei" @click='nav(navList[3], 1)'>文明创建</div>
          <div class="mores" @click='nav(navList[3], 1)' style='float:right;margin-top: -35px;margin-right: 18px;'>
            <img src="./img/bt_left.png" alt="">
          </div>
        </div>
        <div class="gyggg-list">
          <ul>
            <li v-for="(item, index) in navList[3].list"
                @click='articlemag(item, navList[3])'>
              <p>
                <img :src="item.coverImgUrl ? item.coverImgUrl.split(',')[0] : './img/defaultImg.png'"/>
              </p>
              <h3>{{item.fixedinfoflowTitle | ellipsis4}}</h3>
            </li>
          </ul>
        </div>
      </div>

      <!-- 广告 -->
      <div class="column">
        <div v-if="adList.length" v-for="(item, index) in adList" :key="index">
          <template v-if="item.pos == '4'">
            <div v-for="row in Number(item.rows)" style="display: flex;">
              <div v-for="column in  Number(item.columns)" style="height: 70px;flex: 1; margin:5px;"
                @click="tuwail(item.list[(row - 1)*Number(item.columns) + (column -1)])"
                v-if="item.list[(row - 1)*Number(item.columns) + (column -1)].status != 0">
                <template v-if="item.list[(row - 1)*Number(item.columns) + (column -1)]">
                  <img :src="item.list[(row - 1)*Number(item.columns) + (column -1)].url"
                    style="width: 100% ; height: 70px;" />
                </template>
              </div>
            </div>
          </template>
        </div>
      </div>
      
      <div class="column clearfix">
        <!-- 道德建设 -->
        <div class="bottomboxItem f-l ">
          <div class="boxItemtitel2">
            <span @click='nav(navList[4], 1)'>道德建设</span>
            <div class="mores" @click='nav(navList[4], 1)'>
              <img src="./img/bt_left.png" alt="">
            </div>
          </div>
          <div class="boxItemContent">
            <div class="xzitem f-l" v-if="navList[4].list">
              <div class="xzitemnei"
                v-for="(item,index) in navList[4].list"
                @click='articlemag(item, navList[4])'>
                <span>·&nbsp;</span>
                <div class="xzitemCon">
                  <a href="JavaScript:;" :title="item.fixedinfoflowTitle">{{item.fixedinfoflowTitle | ellipsis4}}</a>
                </div>
              </div>
            </div>
          </div>
        </div>

        <!-- 未成年人 -->
        <div class="bottomboxItem f-l " style="margin: 0 30px;">
          <div class="boxItemtitel2">
            <span @click="nav(navList[12], 1)">未成年人</span>
            <div class="mores" @click="nav(navList[12], 1)">
              <img src="./img/bt_left.png" alt="">
            </div>
          </div>

          <div class="boxItemContent">
            <div class="xzitem" v-if="navList[12].list">
              <div class="xzitemnei"
                v-for="(item,index) in navList[12].list"
                @click='articlemag(item, navList[12])'>
                  <div
                    style="font-size:0px;height:240px;position: relative;"
                    v-if="index == 0">
                    <img :src="item.coverImgUrl ? item.coverImgUrl.split(',')[0] : './img/defaultImg.png'" class="coverImg" alt="" style="width: 375px;height: 240px;">
                    <div class="coverImgTitle" :title='item.fixedinfoflowTitle'>{{item.fixedinfoflowTitle | ellipsis1}}</div>
                  </div>
                  <div style="display: flex; align-items: center;height:41px;line-height: 41px;" v-if="index>0 && index<5">
                    <span>·&nbsp;</span>  
                    <div class="xzitemCon" :title='item.fixedinfoflowTitle'>
                      <a href="javascript:void(0);" :title="item.fixedinfoflowTitle">{{item.fixedinfoflowTitle | ellipsis4}}</a>
                    </div>
                  </div>
              </div>
            </div>
          </div>
        </div>

        <!-- 农村创建navList[11] -->
        <div class="bottomboxItem f-l ">
          <div class="boxItemtitel2">
            <span @click="nav(navList[11], 1)">农村创建</span>
            <div class="mores" @click="nav(navList[11], 1)">
              <img src="./img/bt_left.png" alt="">
            </div>
          </div>

          <div class="boxItemContent">
            <div class="xzitem" v-if="navList[11].list">
              <div class="xzitemnei"
                v-for="(item,index) in navList[11].list"
                @click='articlemag(item, navList[11])'>
                  <div
                    style="font-size:0px;height:240px;position: relative;"
                    v-if="index == 0">
                    <img :src="item.coverImgUrl ? item.coverImgUrl.split(',')[0] : './img/defaultImg.png'" class="coverImg" alt="" style="width: 375px;height: 240px;">
                    <div class="coverImgTitle" :title='item.fixedinfoflowTitle'>{{item.fixedinfoflowTitle | ellipsis1}}</div>
                  </div>
                  <div style="display: flex; align-items: center;height:41px;line-height: 41px;" v-if="index>0 && index<5">
                    <span>·&nbsp;</span>  
                    <div class="xzitemCon" :title='item.fixedinfoflowTitle'>
                      <a href="javascript:void(0);" :title="item.fixedinfoflowTitle">{{item.fixedinfoflowTitle | ellipsis4}}</a>
                    </div>
                  </div>
              </div>
            </div>
          </div>
        </div>
      </div>

      <!-- 广告 -->
      <div class="column">
        <div v-if="adList.length" v-for="(item, index) in adList" :key="index">
          <template v-if="item.pos == '5'">
            <div v-for="row in Number(item.rows)" style="display: flex;">
              <div v-for="column in  Number(item.columns)" style="height: 70px;flex: 1; margin:5px;"
                @click="tuwail(item.list[(row - 1)*Number(item.columns) + (column -1)])"
                v-if="item.list[(row - 1)*Number(item.columns) + (column -1)].status != 0">
                <template v-if="item.list[(row - 1)*Number(item.columns) + (column -1)]">
                  <img :src="item.list[(row - 1)*Number(item.columns) + (column -1)].url"
                    style="width: 100% ; height: 70px;" />
                </template>
              </div>
            </div>
          </template>
        </div>
      </div>

      <!-- 主题活动navList[8] -->
      <div class="column clearfix">
        <div class="bottomboxItem f-l ">
          <div class="boxItemtitel2">
            <span @click='nav(navList[8], 1)'>主题活动</span>
            <div class="mores" @click='nav(navList[8], 1)'>
              <img src="./img/bt_left.png" alt="">
            </div>
          </div>
          <div class="boxItemContent">
            <div class="xzitem f-l" v-if="navList[8].list" v-for="(item,index) in navList[8].list"
              @click='articlemag(item, navList[8])'>
              <div class="left">
                <img :src="item.coverImgUrl ? item.coverImgUrl.split(',')[0] : './img/defaultImg.png'" alt="">
              </div>
              <div class="right">
                <a href="JavaScript:;" :title="item.fixedinfoflowTitle">{{item.fixedinfoflowTitle}}</a>
              </div>
            </div>
          </div>
        </div>

        <!-- 文化建设 -->
        <div class="f-l" style="margin-left: 30px;width: 780px;">
          <div class="clearfix">
            <div class="bottomboxItem f-l ">
              <div class="boxItemtitel2">
                <span @click="nav(navList[13], 1)">文化建设</span>
                <div class="mores" @click="nav(navList[13], 1)">
                  <img src="./img/bt_left.png" alt="">
                </div>
              </div>
              <div class="boxItemContent">
                <div class="xzitem" v-if="navList[13].list">
                  <div class="xzitemnei"
                    v-for="(item,index) in navList[13].list"
                    @click='articlemag(item, navList[13])'>
                      <div
                        style="font-size:0px;height:240px;position: relative;"
                        v-if="index == 0">
                        <img :src="item.coverImgUrl ? item.coverImgUrl.split(',')[0] : './img/defaultImg.png'" class="coverImg" alt="" style="width: 375px;height: 240px;">
                        <div class="coverImgTitle" :title='item.fixedinfoflowTitle'>{{item.fixedinfoflowTitle | ellipsis1}}</div>
                      </div>
                      <div style="display: flex; align-items: center;height:41px;line-height: 41px;" v-if="index>0 && index<5">
                        <span>·&nbsp;</span>  
                        <div class="xzitemCon" :title='item.fixedinfoflowTitle'>
                          <a href="javascript:void(0);" :title="item.fixedinfoflowTitle">{{item.fixedinfoflowTitle | ellipsis4}}</a>
                        </div>
                      </div>
                  </div>
                </div>
              </div>
            </div>
            
            <div class="bottomboxItem f-l " style="margin-left: 30px;">
              <div class="boxItemtitel2">
                <span @click="nav(navList[18], 1)">文明实践</span>
                <div class="mores" @click="nav(navList[18], 1)">
                  <img src="./img/bt_left.png" alt="">
                </div>
              </div>
    
              <div class="boxItemContent">
                <div class="xzitem" v-if="navList[18].list">
                  <div class="xzitemnei"
                    v-for="(item,index) in navList[18].list"
                    @click='articlemag(item, navList[18])'>
                      <div
                        style="font-size:0px;height:240px;position: relative;"
                        v-if="index == 0">
                        <img :src="item.coverImgUrl ? item.coverImgUrl.split(',')[0] : './img/defaultImg.png'" class="coverImg" alt="" style="width: 375px;height: 240px;">
                        <div class="coverImgTitle" :title='item.fixedinfoflowTitle'>{{item.fixedinfoflowTitle | ellipsis1}}</div>
                      </div>
                      <div style="display: flex; align-items: center;height:41px;line-height: 41px;" v-if="index>0 && index<5">
                        <span>·&nbsp;</span>  
                        <div class="xzitemCon" :title='item.fixedinfoflowTitle'>
                          <a href="javascript:void(0);" :title="item.fixedinfoflowTitle">{{item.fixedinfoflowTitle | ellipsis4}}</a>
                        </div>
                      </div>
                  </div>
                </div>
              </div>
            </div>
        </div>

          <!-- 魅力颍上 -->
          <div class="bottomboxItem " style="width: 780px;">
            <div class="boxItemtitel2">
              <span @click="nav(navList[14], 1)">魅力颍上</span>
              <div class="mores" @click="nav(navList[14], 1)">
                <img src="./img/bt_left.png" alt="">
              </div>
            </div>

            <div class="boxItemContent">
              <div class="imgItem" v-for="(item,index) in navList[14].list"
                @click='articlemag(item, navList[14])'>
                <img :src="item.coverImgUrl ? item.coverImgUrl.split(',')[0] : './img/defaultImg.png'" alt="">
                <a href="javascript:void(0);" :title="item.fixedinfoflowTitle">{{item.fixedinfoflowTitle}}</a>
              </div>
            </div>
          </div>

        </div>
      </div>

      <!-- 广告 -->
      <div class="column">
        <div v-if="adList.length" v-for="(item, index) in adList" :key="index">
          <template v-if="item.pos == '6'">
            <div v-for="row in Number(item.rows)" style="display: flex;">
              <div v-for="column in  Number(item.columns)" style="height: 70px;flex: 1; margin:5px;"
                @click="tuwail(item.list[(row - 1)*Number(item.columns) + (column -1)])"
                v-if="item.list[(row - 1)*Number(item.columns) + (column -1)].status != 0">
                <template v-if="item.list[(row - 1)*Number(item.columns) + (column -1)]">
                  <img :src="item.list[(row - 1)*Number(item.columns) + (column -1)].url"
                    style="width: 100% ; height: 70px;" />
                </template>
              </div>
            </div>
          </template>
        </div>
      </div>

      <div class="column clearfix">
        <!-- 文明培育 -->
        <div class="bottomboxItem f-l ">
          <div class="boxItemtitel2">
            <span @click="nav(navList[5], 1)">文明培育</span>
            <div class="mores" @click="nav(navList[5], 1)">
              <img src="./img/bt_left.png" alt="">
            </div>
          </div>

          <div class="boxItemContent">
            <div class="xzitem" v-if="navList[5].list">
              <div class="xzitemnei"
                v-for="(item,index) in navList[5].list"
                @click='articlemag(item, navList[5])'>
                  <div
                    style="font-size:0px;height:240px;position: relative;"
                    v-if="index == 0">
                    <img :src="item.coverImgUrl ? item.coverImgUrl.split(',')[0] : './img/defaultImg.png'" class="coverImg" alt="" style="width: 375px;height: 240px;">
                    <div class="coverImgTitle" :title='item.fixedinfoflowTitle'>{{item.fixedinfoflowTitle | ellipsis1}}</div>
                  </div>
                  <div style="display: flex; align-items: center;height:41px;line-height: 41px;" v-if="index>0 && index<5">
                    <span>·&nbsp;</span>  
                    <div class="xzitemCon" :title='item.fixedinfoflowTitle'>
                      <a href="javascript:void(0);" :title="item.fixedinfoflowTitle">{{item.fixedinfoflowTitle | ellipsis4}}</a>
                    </div>
                  </div>
              </div>
            </div>
          </div>
        </div>

        <!-- 讲文明树新风 -->
        <div class="bottomboxItem f-l " style="margin: 0 30px;">
          <div class="boxItemtitel2">
            <span @click="nav(navList[6], 1)">讲文明树新风</span>
            <div class="mores" @click="nav(navList[6], 1)">
              <img src="./img/bt_left.png" alt="">
            </div>
          </div>

          <div class="boxItemContent">
            <div class="xzitem" v-if="navList[6].list">
              <div class="xzitemnei"
                v-for="(item,index) in navList[6].list"
                @click='articlemag(item, navList[6])'>
                  <div
                    style="font-size:0px;height:240px;position: relative;"
                    v-if="index == 0">
                    <img :src="item.coverImgUrl ? item.coverImgUrl.split(',')[0] : './img/defaultImg.png'" class="coverImg" alt="" style="width: 375px;height: 240px;">
                    <div class="coverImgTitle" :title='item.fixedinfoflowTitle'>{{item.fixedinfoflowTitle | ellipsis1}}</div>
                  </div>
                  <div style="display: flex; align-items: center;height:41px;line-height: 41px;" v-if="index>0 && index<5">
                    <span>·&nbsp;</span>  
                    <div class="xzitemCon" :title='item.fixedinfoflowTitle'>
                      <a href="javascript:void(0);" :title="item.fixedinfoflowTitle">{{item.fixedinfoflowTitle | ellipsis4}}</a>
                    </div>
                  </div>
              </div>
            </div>
          </div>
        </div>

        <!-- 网络文明传播 -->
        <div class="bottomboxItem f-l ">
          <div class="boxItemtitel2">
            <span @click="nav(navList[15], 1)">网络文明传播</span>
            <div class="mores" @click="nav(navList[15], 1)">
              <img src="./img/bt_left.png" alt="">
            </div>
          </div>

          <div class="boxItemContent">
            <div class="xzitem" v-if="navList[15].list">
              <div class="xzitemnei"
                v-for="(item,index) in navList[15].list"
                @click='articlemag(item, navList[15])'>
                  <div
                    style="font-size:0px;height:240px;position: relative;"
                    v-if="index == 0">
                    <img :src="item.coverImgUrl ? item.coverImgUrl.split(',')[0] : './img/defaultImg.png'" class="coverImg" alt="" style="width: 375px;height: 240px;">
                    <div class="coverImgTitle" :title='item.fixedinfoflowTitle'>{{item.fixedinfoflowTitle | ellipsis1}}</div>
                  </div>
                  <div style="display: flex; align-items: center;height:41px;line-height: 41px;" v-if="index>0 && index<5">
                    <span>·&nbsp;</span>  
                    <div class="xzitemCon" :title='item.fixedinfoflowTitle'>
                      <a href="javascript:void(0);" :title="item.fixedinfoflowTitle">{{item.fixedinfoflowTitle | ellipsis4}}</a>
                    </div>
                  </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      
      <!-- 广告 -->
      <div class="column">
        <div v-if="adList.length" v-for="(item, index) in adList" :key="index">
          <template v-if="item.pos == '7'">
            <div v-for="row in Number(item.rows)" style="display: flex;">
              <div v-for="column in  Number(item.columns)" style="height: 70px;flex: 1; margin:5px;"
                @click="tuwail(item.list[(row - 1)*Number(item.columns) + (column -1)])"
                v-if="item.list[(row - 1)*Number(item.columns) + (column -1)].status != 0">
                <template v-if="item.list[(row - 1)*Number(item.columns) + (column -1)]">
                  <img :src="item.list[(row - 1)*Number(item.columns) + (column -1)].url"
                    style="width: 100% ; height: 70px;" />
                </template>
              </div>
            </div>
          </template>
        </div>
      </div>
      <!-- 传统节日 -->
      <div class="column clearfix">
        <div class="bottomboxItem f-l " style="width: 780px;">
          <div class="boxItemtitel2">
            <span @click="nav(navList[16], 1)">传统节日</span>
            <div class="mores" @click="nav(navList[16], 1)">
              <img src="./img/bt_left.png" alt="">
            </div>
          </div>

          <div class="boxItemContent">
            <div class="xzitem f-l" v-if="navList[16].list" style="width: 50%;margin-top: 4px;">
              <div class="xzitemnei"
                v-for="(item,index) in navList[16].list" v-if="index==0"
                @click='articlemag(item, navList[16])'>
                  <div
                    style="font-size:0px;height:235px;position: relative;"
                    v-if="index == 0">
                    <img :src="item.coverImgUrl ? item.coverImgUrl.split(',')[0] : './img/defaultImg.png'" class="coverImg" alt="" style="width: 375px;height: 235px;">
                    <div class="coverImgTitle" :title='item.fixedinfoflowTitle'>{{item.fixedinfoflowTitle | ellipsis1}}</div>
                  </div>
              </div>
            </div>
            <div class="xzitem f-l" v-if="navList[16].list" style="width: 50%;margin-top: 4px;">
              <div class="xzitemnei"
                v-for="(item,index) in navList[16].list"
                @click='articlemag(item, navList[16], 1)' v-if="index>0 && index<7">
                <span>·&nbsp;</span>
                <div class="xzitemCon">
                  <a href="JavaScript:;" :title="item.fixedinfoflowTitle">{{item.fixedinfoflowTitle | ellipsis4}}</a>
                </div>
              </div>
            </div>
          </div>
        </div>
        
        <div class="bottomboxItem f-l " style="margin-left: 30px;">
          <div class="boxItemtitel2">
            <span @click='nav(navList[7], 1)'>文明评论</span>
            <div class="mores" @click='nav(navList[7], 1)'>
              <img src="./img/bt_left.png" alt="">
            </div>
          </div>
          <div class="boxItemContent">
            <div class="xzitem" v-if="navList[7].list">
              <div class="xzitemnei"
                v-for="(item,index) in navList[7].list"
                @click='articlemag(item, navList[7], 1)'>
                <span>·&nbsp;</span>
                <div class="xzitemCon">
                  <a href="JavaScript:;" :title="item.fixedinfoflowTitle">{{item.fixedinfoflowTitle | ellipsis4}}</a>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>

      <!-- 广告 -->
      <div class="column">
        <div v-if="adList.length" v-for="(item, index) in adList" :key="index">
          <template v-if="item.pos == '8'">
            <div v-for="row in Number(item.rows)" style="display: flex;">
              <div v-for="column in  Number(item.columns)" style="height: 70px;flex: 1; margin:5px;"
                @click="tuwail(item.list[(row - 1)*Number(item.columns) + (column -1)])"
                v-if="item.list[(row - 1)*Number(item.columns) + (column -1)].status != 0">
                <template v-if="item.list[(row - 1)*Number(item.columns) + (column -1)]">
                  <img :src="item.list[(row - 1)*Number(item.columns) + (column -1)].url"
                    style="width: 100% ; height: 70px;" />
                </template>
              </div>
            </div>
          </template>
        </div>
      </div>

      <div class="column clearfix">
        <!-- 公益广告 -->
        <div class="bottomboxItem f-l " style="width: 1190px;">
          <div class="boxItemtitel2">
            <span @click="nav(navList[6].children[0], 2)">公益广告</span>
            <div class="mores" @click="nav(navList[6].children[0], 2)">
              <img src="./img/bt_left.png" alt="">
            </div>
          </div>

          <div class="boxItemContent">
            <div class="imgItem" v-for="(item,index) in navList[6].children[0].list"
              @click='articlemag(item, navList[6].children[0])' style="width: 238px; height: 170px;padding: 5px 15px 10px 15px;">
              <img :src="item.coverImgUrl ? item.coverImgUrl.split(',')[0] : './img/defaultImg.png'" alt="" style="height: 85%;" class="ztImg">
              <a href="javascript:void(0);" :title="item.fixedinfoflowTitle">{{item.fixedinfoflowTitle}}</a>
            </div>
          </div>
        </div>
      </div>


        <div class="youqinglianjie" style="margin-top: 30px;">
          <div class="linkL">友情链接</div>
          <ul class="linkR">
              <li><a href="https://www.gov.cn/" target="_blank" title="中华人民共和国中央人民政府">中华人民共和国中央人民政府</a></li>
              <li><a href="https://www.ah.gov.cn/" target="_blank" title="安徽省人民政府">安徽省人民政府</a></li>
              <li><a href="https://www.fy.gov.cn/" target="_blank" title="阜阳市人民政府">阜阳市人民政府</a></li>
              <li><a href="http://www.ahys.gov.cn" target="_blank" title="颍上县人民政府">颍上县人民政府</a></li>
              <li><a href="https://www.ys-news.cn/" target="_blank" title="颍上新闻网">颍上新闻网</a></li>
              <li><a href="http://www.ahwx.gov.cn/" target="_blank" title="安徽网信网">安徽网信网</a></li>
          </ul>
        </div>
      </div>
    </div>

    <common-footer></common-footer>
      
  </div>
</body>
<script src="./js/vue.js"></script>
<script src="./js/axios.js"></script>
<script src="./js/components.js?v=20240923"></script>
<script src="./js/swiper.min.js"></script>
<!-- <script src="./js/jquery.SuperSlide.2.1.1.js"></script> -->
<!-- <script src="//unpkg.byted-static.com/xgplayer/2.31.6/browser/index.js" charset="utf-8"></script>
<script src="//unpkg.byted-static.com/xgplayer-hls.js/2.2.2/browser/index.js" charset="utf-8"></script>
<script src="//unpkg.byted-static.com/xgplayer-mp4/3.0.1/dist/index.min.js" charset="utf-8"></script> -->
<script src="./js/channelList.js"></script>
<link rel="stylesheet" href="./css//floatingAd.css">
<script src="./js/floatingAd.js"></script>
<script>
  axios.defaults.baseURL = '/api';

  Vue.prototype.$axios = axios
  new Vue({
    el: "#app",
    data() {
      return {
        plateId: '10',
        appId: '343',
        navList: navList, // 菜单
        adList: [], // 广告列表
        showNotice: true, // 提示公告
        search2: '', // 模糊查询内容
        searchType: '1', // 模糊查询类型
        curr: -1,  //  头部导航当前页
        swips: null, // 推荐轮播图
        swips3: null, // 视频轮播图
        xqBg: "",  // 顶部活动背景图
        // current: 0, // 乡村广角默认展示第一条

        topPadd: 0, // 背景图距离顶部距离
        aLink: '',  // 背景图链接区域
        player: null,
        // player1: null,
        // player2: null,
        swiper: null,
        zhuantiList:[],
        zxzt: [],
        tabItemList: [], // 频道有栏目的
        showIndex: -1, // 二级导航展示位置
        showImgCode: false,  // 显示app下载二维码
        qdimgStatus: false, // 启动图状态，默认显示
        showVideo: false,  // 轮播图视频，默认不显示
        carouselVideoSrc: '', // 轮播图视频展示
        sideAdList: [], // 侧边广告
        
      }
    },
    filters: {
      ellipsis(value) {
        if (!value) return "";
        if (value.length > 10) {
          return value.slice(0, 10);
        }
        return value;
      },
      ellipsis1(value) {
        if (!value) return "";
        if (value.length > 22) {
          return value.slice(0, 22);
        }
        return value;
      },
      ellipsis2(value) {
        if (!value) return "";
        if (value.length > 25) {
          return value.slice(0, 25);
        }
        return value;
      },
      ellipsis3(value) {
        if (!value) return "";
        if (value.length > 28) {
          return value.slice(0, 28);
        }
        return value;
      },
      ellipsis4(value) {
        if (!value) return "";
        if (value.length > 20) {
          return value.slice(0, 20);
        }
        return value;
      },
      ellipsis5(value) {
        if (!value) return "";
        if (value.length > 38) {
          return value.slice(0, 38);
        }
        return value;
      },
    },
    mounted() {

      // 启动图定时关闭
      setTimeout(() => {
        this.qdimgStatus = false;
      }, 3000)
      this.getData() // 获取数据

      this.getbanner() // 获取顶部背景图
      this.getGray()  //一键置灰
      this.getGgLlist() // 获取广告列表
      this.getSideAd() // 获取侧边广告列表
      // this.getSubjectList() // 专题列表
      
      // // 管控平台数据传输
      AnalysysAgent.track("visit", {'visitip': getIp()})
    },
    computed: {
      // 首页顶部背景图
      style() {
        return {
          'background': `url(${this.xqBg}) center top no-repeat`,
          'position': 'absolute',
          'z-index': '-1',
          'height': '1000px',
          'width':'100%',
          'min-width':'1280px',
          'top': '0'
        };
      },
      // 首页启动图
      style2() {
        return {
          'background': `url('./img/qd.jpg') center top no-repeat`,
          'position': 'absolute',
          'z-index': '10',
          'height': '1000px',
          'width':'100%',
          'min-width':'1280px'
        };
      },
      // 首页启动图
      style3() {
        var width = window.innerWidth;
        var height = window.innerHeight;
        return {
          'position': 'absolute',
          'z-index': '10',
          'left':0,
          'top':0,
          'height': width,
          'width': height,
          'min-width':'1280px'
        };
      },
      // 头条字体
      xttFontSize () {
        let titleLen = this.navList[0].list[0].fixedinfoflowTitle.length
        if (titleLen <= 36) {
          return 'font-size: 35px'
        } else if (titleLen <= 43) {
          return 'font-size: 31px'
        } else if (titleLen <= 50) {
          return 'font-size: 26px'
        }  else if (titleLen <= 56) {
          return 'font-size: 22px'
        } else {
          return 'font-size: 18px'
        }
         
      }
    },
    methods: {
      getData(){
        // 获取所有数据
        for(var i = 0; i < this.navList.length; i++){
          if(this.navList[i].type == 1){
            this.getDataByChannelId(this.navList[i], i, '', 10)
          }else if(this.navList[i].type == 2){
            this.getDataBycolumnId(this.navList[i], i, '', 10)
          }else if(this.navList[i].type == 3){
            this.getDataBySectionId(this.navList[i], i, '', 10)
          }

          // 讲文明树新风 -> 2020公益广告
          if (this.navList[i].channelId === 88) {
            this.getDataBycolumnId(this.navList[i].children[0], i, 0)
          }

          // if(this.navList[i].children){
          //   for(var j = 0; j < this.navList[i].children.length; j++){
          //     this.getDataBycolumnId(this.navList[i].children[j], i, j)
          //   }
            
          // }else{
          //   if(this.navList[i].channelType == 'C3'){
          //     this.getSubjectList(i)
          //   }else{
          //     this.getDataByChannelId(this.navList[i], i, '')
          //   }
          // }
        }
       
      },
      // 根据频道id获取数据
      async getDataByChannelId(obj, i, j){ // obj navList位置 children位置
        await this.$axios.get("app/web/selTitleFlowByChannelId", {
          params: {
            pageSize: obj.size || 10,
            pageNum: 1,
            channelId: obj.channelId,
            appId: this.appId,
          }
        }).then((res) => {
          if(res && res.data){
            console.log(obj.channelName+'频道的列表：', res.data.rows, j, '----')
            if(j !== ''){
              this.navList[i].children[j].list = res.data.rows?res.data.rows:[]
            }else{
              this.navList[i].list = res.data.rows?res.data.rows:[]
            }
            // if(obj.channelName=='聚焦'){
            //   setTimeout(() => {
            //     this.getswips();// 初始化轮播图插件
            //   }, 500)
            // }
            if(obj.channelId== 77 && res.data.rows.length){
              setTimeout(() => {
                this.getswips()
              }, 500)
            }
            // console.log(obj.channelName+'频道的列表：', this.navList[i].list)
            this.$forceUpdate()
          }
        })
      },
      
      // 根据栏目id获取数据
      async getDataBycolumnId(obj, i, j){ // obj navList位置 children位置
        // console.log(obj, i, j)
        await this.$axios.get("app/web/selTitleFlowByColumnId", {
          params: {
            pageSize: obj.size,
            pageNum: 1,
            columnId: obj.columnId,
            appId: this.appId,
          }
        }).then((res) => {
          if(res && res.data){
            // console.log(obj.columnName+'栏目的列表：', res.data.rows, i, j)
            if(j !== ''){
              this.navList[i].children[j].list = res.data.rows?res.data.rows:[]
            }else{
              this.navList[i].list = res.data.rows?res.data.rows:[]
            }
          }
        })
      },
      // 根据sectionId获取数据 (recommend=1支持手动推荐排序)
      async getDataBySectionId(obj, i, j){
        await this.$axios.post("system/cmsPlateSection/columnContentQueryForWeb", {
          pageSize: obj.size,
          pageNum: 1,
          sectionId: obj.sectionId,
          appId: this.appId,
          recommend: '',
          param:{"isConfirm":"1"}
        }).then((res) => {
          if(res && res.data){
            if(j !== ''){
              this.navList[i].children[j].list = res.data.rows?res.data.rows:[]
              // console.log(obj.sectionName+'组件的列表1：', this.navList[i].children[j].list)
            }else{
              this.navList[i].list = res.data.rows?res.data.rows:[]
              // console.log(obj.sectionName+'组件的列表2：', this.navList[i].list)
            }
          }
        }).then(() => {
          if(obj.sectionName == '轮播图' && obj.list && obj.list.length){
            setTimeout(() => {
              this.getswips();// 初始化轮播图插件
            }, 500)
            }
        })
      },

      // 获取顶部背景图
      getbanner() {
        this.$axios.get(
          `system/banner/selectBanner?appId=${this.appId}&channelId=${this.plateId}&pageNum=1&pageSize=10`
        ).then(res => {
          // console.log(res, '图片信息')
          for(var i=0; i<res.data.rows.length; i++){
            if(res.data.rows[i].channelName == '首页' && res.data.rows[i].status != 0){
              this.xqBg = res.data.rows[i].url
              this.topPadd = 50
              if(res.data.rows[i].forwardLink){
                this.aLink = res.data.rows[i].forwardLink
              }
            }
          }
        })
      },
      // 广告的点击方法
      tuwail(e) {
        if (e.jumpUrl) {
          window.open(e.jumpUrl)
        }
        if (e.contentId) {
          window.open("./details.html?id=" + e.contentId + '&dataObjId=' + 1 + '&channelId=' + e.id + '&num=' +
            this.num + '&channelName=' + '广告', '_self')
        }
      },
      // 播放轮播图视频
      cshMp4Carousel(e){
        this.player4 = new Player({
          id: 'mse4',
          url: e.carouselVideoIcon,
          playsinline: true,
          pip: true,
          width: 860,
          height: 460,
          volume: 0.6,
          poster: e.carouselIcon?e.carouselIcon:'',
          errorTips: `播放失败，请<span>刷新</span>重试`,
          isLive: true,
          autoplay: true,
          cors: true
        })
      },
      // 底部专题轮播图左右按钮事件
      swiperNext3() {
        this.swips4.slideNext()
      },
      swiperPrev3() {
        this.swips4.slidePrev()
      },
      // 一键置灰
      getGray () {
        this.$axios.get(`/app/AppColor/selectAppColor?webId=${this.appId}&pageNum=1&pageSize=10`).then(res => {
          if (res.data.code === 0 && res.data.rows.length) {
            var curDate = new Date();
            endDate = new Date(res.data.rows[0].endTime)
            if(endDate >= curDate){
              if(res.data.rows && res.data.rows.length && res.data.rows[0].status !== '2'){
                this.isGray = true;
                var css = {
                  '-webkit-filter': 'grayscale(100%)',
                  '-moz-filter': 'grayscale(100%)',
                  '-ms-filter': 'grayscale(100%)',
                  '-o-filter': 'grayscale(100%)',
                  'filter': 'progid:DXImageTransform.Microsoft.BasicImage(grayscale=1)',
                  '_filter': 'none'
                }
                $('.grayContent').css(css)
              }
            }
          }
        });
      },
      // 播放轮播图视频
      showCarouselVideo(item){
        var src = item.carouselVideoIcon
        this.carouselVideoSrc = src
        setTimeout(()=> {
          this.cshMp4Carousel(item)
        },200)
        this.showVideo = true
      },
      // 关闭视频播放器
      closeVideo(){
        this.showVideo = false
      },
      // 头部专题点击事件
      tozhuanti(item) {
        if (item.extLink) {
          window.open(item.extLink)
        } else {
          // window.open('./subjectList.html?channelId=506&subjectId=81&channelName=专题专栏', '_self')
          window.open('./subjectList.html?channelId='+this.navList[3].channelId+'&subjectId='+item.subjectId+'&channelName='+this.navList[3].channelName, '_self')
        }
      },
       //推荐轮播图
       getswips() {
        this.$nextTick(function () {
          setTimeout(() => {
            this.swips = new Swiper(".swiper1", {
                loop: true,
                mousewheel: true,
                effect: 'fade',
                followFinger: false,
                autoplay: {
                    disableOnInteraction: false,
                    delay: 2500,
                },
                // autoplay: false, //等同于以下设置
                pagination: {
                    el: ".swiper-pagination",
                    clickable: true,
                },
            })
          }, 100)
        })
      },
      // 底部专题栏目轮播图
      getswips4() {
        this.$nextTick(function () {
          setTimeout(() => {
            this.swips4 = new Swiper(".swiper4", {
              autoplay: true, //等同于以下设置
              observer: true,
              observeParents: true,
              slidesPerView: 6,
              spaceBetween: 97,
              slidesPerGroup: 1,
              loopFillGroupWithBlank: true,
              pagination: {
                nextEl: '.swiper-button-next',
                prevEl: '.swiper-button-prev',
              },
            })
          }, 100)
        })
      },
      // 顶部查询
      search(e) {
        window.open("./search.html?search=" + this.search2 + '&show=' + e + '&searchType=' + this.searchType, '_self');
      },
      // 跳转去文章详情articlemag
      articlemag(e, obj, num) {
        var videoUrls = ''
        if (e.videoUrls) {
            videoUrls = e.videoUrl
        }
        if (e.id) {
            id = e.id
            dataObjId = e.dataObjId
        } else if(e.contentId){
            id = e.contentId
            dataObjId = e.contentType
        }else{
            id = e.informationContentId ? e.informationContentId : e.fixedinfoflowContentId
            dataObjId = e.dataObjId || e.informationContentType || e.fixedinfoflowContentType
        }
        if (e.carouselOutUrl || e.extLink) {
            window.open(e.carouselOutUrl || e.extLink, '_blank')
        }else{
          var articleParam = {
              channelId: obj.channelId,
              columnId: obj.columnId,
              sectionId: obj.sectionId,
              channelName: obj.channelName,
              columnName: obj.columnName,
              sectionName: obj.sectionName
          }
          toArticleDetail(e, articleParam)
        }
      },
      // 顶部导航跳转
      tochanneldetails(item){
          tochanneldetails(item);
      },
      // type 1频道 2栏目 3模块 4专题
      nav(obj, type){
        if(type == 1 || type == 4 || type == 5){
          window.open("./newsList.html?channelId=" + obj.channelId + '&type=' + type + '&channelName=' + obj.channelName, '_self')
        }else if(type == 2){
          window.open("./newsList.html?channelId=" + obj.channelId + '&columnId=' + obj.columnId + '&type=' + type + '&columnName=' + obj.columnName + '&channelName=' + obj.channelName, '_self')
        } else if(type == 3){
          window.open("./newsList.html?channelId=" + obj.channelId + '&sectionId=' + obj.sectionId + '&type=' + type + '&sectionName=' + obj.sectionName + '&channelName=' + obj.channelName, '_self')
        }
      },
      // 获取广告列表
      getGgLlist() {
        this.$axios.get(
          "system/homeAdvertisement/queryList?appId=" + this.appId+"&pageNum=1&pageSize=10").then(
          res => {
            this.adList = res.data.rows
            // console.log('this.adList: ', this.adList)
            if (this.adList.length) {
              this.$nextTick(function () {
                setTimeout(() => {
                  this.swiperAd = new Swiper("#swiperAd", {
                    // loop: true,
                    mousewheel: true,
                    // effect: 'fade',
                    // followFinger: true,
                    autoplay: {
                        disableOnInteraction: true,
                        delay: 2500,
                    },
                    pagination: {
                        el: ".swiper-pagination",
                        clickable: true,
                        renderBullet: function (index, className) {
                          return '<span class="' + className + '">' + (index + 1) + '</span>';
                        },
                    },
                  })
                }, 100)
              })
            }
          })
      },
      // 动态获取专题
      getSubjectList(index) {
        this.zxzt = []
        this.$axios.post(
          `product/cmsContentSubject/getSubjectListForWeb`, {
            appId: this.appId,
            pageNum: 1,
            pageSize: 50,
          }
        ).then(res => { 
          // console.log(res.data.rows, '专题分类', index)
          var arr = []
          var tempArr = []
          for (var i = 0; i < res.data.rows.length; i++) {
            tempArr.push({
              subjectId: res.data.rows[i].subjectId,
              name: res.data.rows[i].title,
              extLink: res.data.rows[i].extLink,
              subjectCoverImg: res.data.rows[i].modelImg,
              shareUrl: res.data.rows[i].shareUrl,
              contTypeId:res.data.rows[i].contId
            })
            arr.push({
              subjectId: res.data.rows[i].subjectId,
              name: res.data.rows[i].title,
              extLink: res.data.rows[i].extLink,
              subjectCoverImg: res.data.rows[i].modelImg,
              shareUrl: res.data.rows[i].shareUrl,
              contTypeId:res.data.rows[i].contId
            })
            if(tempArr.length == 2 || res.data.rows.length == i+1){
              this.zxzt.push(tempArr)
              tempArr = []
            }
          }
          this.navList[index].list = arr;
          
        })
      },
      // 关闭启动图
      skipqdimg(){
        this.qdimgStatus = false;
      },
      // 侧边广告
      getSideAd() {
        this.$axios.get(
          `system/sideAdvertisement/queryList?pageNum=1&pageSize=19&appId=${this.appId}`
        ).then(res => {
          // this.$set('sxobj', res.data.rows);
          this.sideAdList = res.data.rows;
          this._watcher.run()
          // console.log('res.sxobj', res.data.rows)
          for(var i = 0; i < res.data.rows.length; i ++){
            if (res.data.rows[i].status == 1) {
              res.data.rows[i].sxclose = true;
            } else {
              res.data.rows[i].sxclose = false;
            }
            if (res.data.rows[i].isClose == 1) {
              res.data.rows[i].sxcloseimg = true;
            } else {
              res.data.rows[i].sxcloseimg = false;
            }
            if (res.data.rows[i].location == 1) {
              res.data.rows[i].style = 'max-width: 150px;position: fixed;left: 10px;top: 140px;'
              this[`sxStyle${i}`] = 'max-width: 100px;position: fixed;left: 10px;top: 140px;'
            } else if (res.data.rows[i].location == 2) {
              res.data.rows[i].style = 'max-width: 150px;position: fixed;left: 10px;bottom: 10px;'
            } else if (res.data.rows[i].location == 3) {
              res.data.rows[i].style = 'max-width: 150px;position: fixed;right: 10px;top: 140px;'
            } else {
              res.data.rows[i].style = 'max-width: 150px;position: fixed;right: 60px;bottom: 10px;'
            }
          }
          this.sideAdList = res.data.rows;
        })
      },
      // 侧边广告点击事件
      sideAdClick(index, item) {
        console.log(item)
        if (item.type == 1) {
          window.open(
            `./details.html?id=${item.articleId}&dataObjId=1&channelId=&num=22&channelName=广告&columnId=`, '_self')
        } else {
          if(item.urlContent == ' ' || item.urlContent == ''){
            return;
          }else{
            window.open(item.urlContent)
          }
        }
      },
      // 关闭侧边广告
      closeSideAd(item, index) {
        this.sideAdList[index].sxclose = false;
        this._watcher.run()
        // this.$set(`sideAdList${index}.sxcloseimg`, false);
      },
    },
  })

  var list = $('#slideTxtBox ul.list');
  var tabLi = $('#slideTxtBox .head').find('li');
  tabLi.each(function(e) {
    $(this).bind("mouseover", function()  {
      $('#slideTxtBox .head').find('li').removeClass("active");
      $(this).addClass("active");
      $('#slideTxtBox ul.list').hide();
      list.eq(e).show();
    })
  })
  // $.floatingAd({
  //     delay: 60, //频率
  //     isLinkClosed: false, //超链接后是否关闭漂浮
  //     //漂浮内容
  //     ad: [{
  //         headFilter: 0.3, //关闭区域背景透明度(0.1-1)
  //         isClose: 1,  //控制广告是否可关闭
  //         'img': './images/11.jpg',   //图片
  //         //图片高度
  //         'imgHeight': 'auto',
  //         //图片宽度
  //         'imgWidth': 'auto',
  //         //图片链接
  //         'linkUrl': 'http://www.ah12377.cn/newsDetail/602',
  //         'z-index': 100,  //浮动层级别
  //         'closed-icon': './images/closeAd.jpg',
  //         'title': '关闭'  //标题
  //     }],
  //     //关闭事件
  //     onClose: function (elem) {}
  // });
  // $("#aa").floatingAd({
  //     onClose: function (elem) {}
  // });
</script>
<style scoped>
  html{
    min-width: 1250px;
  }
  /* 启动图 */
  .qdimg{
    width: 100%;
    height: 100vh;
    overflow: hidden;
    margin: 0 auto;
    text-align: center;
    position: fixed;
    z-index: 11111;
    cursor: pointer;
    background-size: cover;
    background-position: center;
    max-height: 65vw;
    background-color: rgba(0, 0, 0, .6);
  }
  .qdimg .skip{
    position: absolute;
    z-index: 111113;
    top: 10px;
    right: 10px;
    width: 80px;
    height:40px;
    line-height: 40px;
    background-color: #e25037;
    color: white;
    font-size: 20px;
    cursor: pointer;
  }
  .qdimg img{
    width: 100%;
    height: 100%;
  }
 
  img:hover,
  a:hover {
    cursor: pointer !important;
    text-decoration: underline !important;
    color: red !important;
  }
  .swiper1 {
    width: 100%;
    height: 100%;
    position: relative;

  }

  .swiper1 .swiper-pagination{
    width: 100px!important;
    left: 595px!important;
    padding-left: 0!important;
    bottom: 14px;
  }
  .swiper-slide{
    overflow: hidden;
    position: relative;
  }


  .swiper {
    --swiper-theme-color: #ff6600;
    /* 设置Swiper风格 */
    --swiper-navigation-color: #3D7AB6;
    /* 单独设置按钮颜色 */
    --swiper-navigation-size: 18px;
    /* 设置按钮大小 */
  }

  .swiper-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #FFFFFF;
    margin-left: 10px;
    opacity: 1;
  }
  .swiper1 .swiper-pagination .swiper-pagination-bullet{
    border-radius: 50%;
  }

  .swiper-pagination .swiper-pagination-bullet-active {
    background: #C002;
  }

  .swiper-pagination {
    bottom: 12px;
  }
.cbgg{
  z-index: 10000000;
}
.cbgg .closeimg {
  position: absolute;
  right: 0;
  top: 0;
  width: 18px;
}

.swiper4 .swiper-slide{
    width: 200px !important;
    margin-right: 11px!important;
  }
</style>

</html>